#pragma once
#include "Control.h"
#include "IEventListener.h"

class TextBox : public Control
{
public:
	TextBox();
	~TextBox();
	virtual tstring GetClassName() { return _T("TextBox"); }
	virtual bool OnInit() { return true; }
	virtual bool SetAttribute(const char* attrName, const char* attrVal);
	virtual void Draw();

	virtual void onKeyUp(int key);


	//std::string content;
	tstring content;
};